package com.mtw.bbs.bbsUser;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.data.elasticsearch.repository.config.EnableElasticsearchRepositories;


@SpringBootApplication(scanBasePackages = "com.mtw.bbs.**")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.mtw.bbs.**")
@MapperScan({"com.mtw.bbs.**.mapper","com.github.wujun234.uid.worker.dao"})
@EnableElasticsearchRepositories(basePackages = "com.mtw.bbs.**.repository")
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
